import request from "@/utils/request.js";
export default {
  bannerData() {
    return request.get("/banneralls");
  },
  create(params = {}) {
    return request.post("/banneralls/create ", params);
  },
  details(params = {}) {
    return request.get("/banneralls/details", { params });
  },
  update(params = {}) {
    return request.get("/banneralls/update", { params });
  },
  add(params = {}) {
    return request.post("/banneralls/insert_item", params);
  },
  cUpdate(params = {}) {
    return request.post("/banneralls/updata_item", params);
  },
};
